package nl.dxn.tunnel.po;

import nl.dxn.tunnel.enums.TransferMessageType;

public class TransferMessage {
    /**
     * 消息类型
     */
    private TransferMessageType type;
    private MessageConfig config = new MessageConfig();

    /**
     * 消息内容
     */
    private byte[] data;

    public TransferMessageType getType() {
        return type;
    }

    public void setType(TransferMessageType type) {
        this.type = type;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public MessageConfig getConfig() {
        return config;
    }

    public void setConfig(MessageConfig config) {
        this.config = config;
    }
}
